package cn.openea.perpartner.expert.web.service;

import cn.openea.perpartner.common.core.web.domain.AjaxResult;
import cn.openea.perpartner.expert.web.domain.dto.SelectDto;
import cn.openea.perpartner.expert.web.domain.dto.SignupDto;
import cn.openea.perpartner.expert.web.domain.entity.ExpertJob;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 专家协作需求表(Job)表服务接口
 *
 * @author Weird077
 * @since 2023-06-19 11:45:59
 */
public interface IExpertJobService extends IService<ExpertJob> {
    ExpertJob getByTaskNum(String taskNum);
    boolean publishJob(ExpertJob job);
    AjaxResult grabJob(ExpertJob job);
    boolean partnerSignup(SignupDto dto);
    boolean userPreselect(SelectDto dto);
    boolean partnerReselect(SignupDto dto);
    boolean userReselect(SelectDto dto);
    boolean partnerConfirm(SignupDto dto);
    boolean userEvaluate(ExpertJob job);
}

